package com.h6.crm.service.Impl;

import java.util.List;

import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.h6.crm.entity.HrEmployee;
import com.h6.crm.mapper.HrEmployeeMapper;
import com.h6.crm.service.HrEmployeeService;

@Service
public class HrEmployeeServiceImpl extends ServiceImpl<HrEmployeeMapper, HrEmployee> implements HrEmployeeService {

    @Override
    public List<HrEmployee> queryEmployeeList() {
        return list(new LambdaQueryWrapper<HrEmployee>().orderByAsc(HrEmployee::getEmplName));
    }

}
